@import "common/_functions.scss";

.index {
  position: relative;
  width: 100%;
  height: 100%;
  background: url(../img/newindex@2x.png) no-repeat;
  background-size: 100% 100%;
  color: #FFF;
  .rx{
    text-align: center;
    padding-top: rem(100);
    color:rgba(255,255,255, 0.5)
  }
}
  .index .header {
    height: 1.49333rem;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    padding: 0.53333rem;
    //background: rgba(0, 0, 0, 0.7);
    font-size: 0.42667rem; }


.box{
        height:rem(330);
    }
    body {
      background: #eee;
      font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
      font-size: 14px;
      color:#000;
      margin: 0;
      padding: 0;
    }
    .swiper-container {
      width: 100%;
      height: 100%;
    }
    .swiper-slide {
      text-align: center;
      font-size: 18px;
      width: rem(154);
      padding:rem(10);
      

      // height:rem(300);
      // background: #fff;

      /* Center slide text vertically */
      display: -webkit-box;
      display: -ms-flexbox;
      display: -webkit-flex;
      display: flex;
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      -webkit-justify-content: center;
      justify-content: center;
      -webkit-box-align: center;
      -ms-flex-align: center;
      -webkit-align-items: center;
      align-items: center;
      transition: 300ms;
      img{
        width: rem(120);
        // display: block;
      }
      .imgbox{
        padding: rem(20);
        text-align: center;
        font-size: rem(14);
        span{
          display: block;
          padding: rem(5) 0;
          color:rgba(255,255,255, 0.5)
        }
      }
    }
    .swiper-slide:not(.swiper-slide-active){
      transform: scale(0.8);

      display: inline-block;
      
    }
    .swiper-slide-active{
      
      span{
        padding: rem(5) 0;
        
      }

    }
    .swiper-slide-active .imgbox{
      padding: rem(20);
      border: 1px solid #fff;
      border-radius: 5px;
      box-shadow: 0px 0px 20px #fff;
      
    }

    .swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction{
      bottom: 3px!important;
    }
    .swiper-pagination-bullet{
      background: #fff!important;
    }
